Skip to content

[#14968] perf: cache the innermost scope state in ScopedEnvExtension.StateStack - #30

Draft
downstream-lean4[bot] wants to merge 2 commits into
masterfrom
adaptation-14968
Draft

[#14968] perf: cache the innermost scope state in ScopedEnvExtension.StateStack#30
downstream-lean4[bot] wants to merge 2 commits into
masterfrom
adaptation-14968

Conversation

@downstream-lean4

Copy link
Copy Markdown
Contributor

This is the adaptation PR for leanprover/lean4#14968.

@downstream-lean4

downstream-lean4 Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor Author

Build report for mathlib4: drop now-unused Inhabited binder on warnAttr

Stayed green
Repo Critical Build Test Lint
aesop ✅ in 7s ✅ in 5s ⏭️
batteries ✅ in 5s ✅ in 4s ✅ in 2s
import-graph ✅ in 2s ✅ in 3s ⏭️
lean4-cli ✅ in 1s ✅ in 0s ⏭️
mathlib4 ✅ in 1176s ✅ in 48s ✅ in 93s
plausible ✅ in 1s ✅ in 2s ⏭️
ProofWidgets4 ✅ in 3s ✅ in 1s ⏭️
quote4 ✅ in 2s ✅ in 1s ⏭️
reference-manual ✅ in 15s ⏭️ ⏭️
BibtexQuery ✅ in 1s ⏭️ ⏭️
comparator ✅ in 2s ⏭️ ⏭️
cslib ✅ in 37s ✅ in 8s ✅ in 3s
doc-gen4 ✅ in 3s ⏭️ ⏭️
illuminate ✅ in 4s ✅ in 10s ⏭️
lean4-unicode-basic ✅ in 2s ⏭️ ⏭️
lean4export ✅ in 0s ✅ in 7s ⏭️
LeanSearchClient ✅ in 1s ✅ in 0s ⏭️
leansqlite ✅ in 4s ✅ in 16s ⏭️
repl ✅ in 1s ✅ in 58s ⏭️
verso ✅ in 36s ✅ in 84s ⏭️
verso-slides ✅ in 5s ✅ in 6s ⏭️
verso-web-components ✅ in 30s ⏭️ ⏭️

View run

@Kha

Kha commented Aug 30, 2026

Copy link
Copy Markdown
Member

!bench

@Kha

Kha commented Aug 30, 2026

Copy link
Copy Markdown
Member

!bench mathlib

@leanprover-radar

leanprover-radar commented Aug 30, 2026

Copy link
Copy Markdown

Benchmark results for c87c3ba against 92e8256 are in. No significant results found. @Kha

  • build//instructions: -114.1G (-0.08%)

Small changes (1✅, 3🟥)

  • build/module/Batteries.Lean.Expr//instructions: -113.2M (-5.38%) (reduced significance based on absolute threshold)
  • 🟥 build/module/Mathlib.Algebra.Homology.HomotopyCategory.ChainComplex//instructions: +404.5M (+8.40%)
  • 🟥 build/module/Mathlib.Analysis.Normed.Operator.Compact.FiniteDimension//instructions: +450.2M (+8.64%)
  • 🟥 build/module/Mathlib.LinearAlgebra.PiTensorProduct//instructions: +229.7M (+6.94%) (reduced significance based on absolute threshold)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adaptation This is an adaptation PR for a PR in the lean4 repository. cache-available toolchain-available

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants